<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>



	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<title>Draw The Dots: Tune Editor demo</title>

	<script src="proto.js" type="text/javascript"></script>

	<script src="raphael.js" type="text/javascript"></script>
	<script src="sprintf.js" type="text/javascript"></script>
        <script src="abc_glyphs.js" type="text/javascript"></script>
        <script src="abc_graphelements.js" type="text/javascript"></script>
        <script src="abc_layout.js" type="text/javascript"></script>
        <script src="abc_write.js" type="text/javascript"></script>
	<script src="abc_tunebook.js" type="text/javascript"></script>
        <script src="abc_parse_header.js" type="text/javascript"></script>
        <script src="abc_tune.js" type="text/javascript"></script>
	<script src="abc_tokenizer.js" type="text/javascript"></script>
        <script src="abc_parse.js" type="text/javascript"></script>
        <script src="abc_midiwriter.js" type="text/javascript"></script>

	<script src="abc_editor.js" type="text/javascript"></script>
        <script type="text/javascript">
window.onload = function() {

  new ABCEditor("abc", { canvas_id: "canvas",
                                      midi_id:"midi",
                                      warnings_id:"warnings",
                                      parser_params:{}
                                      });
  new ABCEditor("abc2", {generate_midi: true, generate_warnings:false});
}

        </script>
</head><body>



<textarea id="abc" cols="80" rows="15">X: 1
T: Cooley's
M: 4/4
L: 1/8
R: reel
K: Emin
|:D2|EB{c}BA B2 EB|~B2 AB dBAG|FDAD BDAD|FDAD dAFD|
EBBA B2 EB|B2 AB defg|afe^c dBAF|DEFD E2:|
|:gf|eB B2 efge|eB B2 gedB|A2 FA DAFA|A2 FA defg|
eB B2 eBgB|eB B2 defg|afe^c dBAF|DEFD E2:|</textarea>
<div id="warnings"></div>
<hr>
<div id="midi"></div>
<div id="canvas"></div>

<hr>

<textarea id="abc2" cols="80" rows="15">X: 1
T: Cooley's
M: 4/4
L: 1/8
R: reel
K: Emin
|:D2|EB{c}BA B2 EB|~B2 AB dBAG|FDAD BDAD|FDAD dAFD|
EBBA B2 EB|B2 AB defg|afe^c dBAF|DEFD E2:|
|:gf|eB B2 efge|eB B2 gedB|A2 FA DAFA|A2 FA defg|
eB B2 eBgB|eB B2 defg|afe^c dBAF|DEFD E2:|</textarea>